<?php
/**
 * Created by PhpStorm.
 * User: wangkai
 * Date: 2017/10/28
 * Time: 0:59
 */

namespace app\controllers;


use yii\web\Controller;

class ProductController extends Controller
{

    public function actionIndex(){
        $this->layout='layout2';
        return $this->render('index');
    }
    public function actionDetail()
    {
        $this->layout='layout2';
        return $this->render('detail');
    }

}